<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
	
	<table align="center">
		<tr><td>
		    <p:panel header="Login" style="height: 230px; width:300px;" >  
		        <h:form prependId="false">
					<center>
						<h:panelGrid columns="2">
							<h:outputLabel value="Login" />
							<h:inputText size="15" value="#{loginMB.nome}" />
					
							<h:outputLabel value="Senha" />
							<h:inputText size="15" value="#{loginMB.senha}" />
			
						</h:panelGrid>
						<br />
						<p:commandButton value="Salvar" action="#{loginMB.newLogin}" />
					</center>

					<div class="ui-panel-footer ui-widget-content">
						<a href="" >${message.lembrarSenha}</a>
						<br />
						<a href="#{facesContext.externalContext.requestContextPath}/views/login/newLogin.xhtml">${message.cadastroNovo}</a>
					</div>
				</h:form>
		    </p:panel>  
		</td></tr>
	</table>

</f:view>